package com.jiuwu.spring.eshop.db.entity;


import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "V_goods")
@Data
@NoArgsConstructor
public class VGoods {

    @Id
    @Column(name = "goodsID")
    private Integer goodsId;

    @Column(name = "goodsName")
    private String goodsName;

    @Column(name = "subID")
    private Integer subId;

    @Column(name = "subtype")
    private String subtype;

    @Column(name = "GoodsPrice")
    private float goodsPrice;

    @Column(name = "GoodsIntroduce")
    private String goodsIntroduce;

    @Column(name = "GoodsPicture")
    private String goodsPicture;

    @Column(name = "GoodsINTime")
    private Date goodsINTime;

    @Column(name = "IsNew")
    private int isNew;

    @Column(name = "IsSale")
    private int isSale;

    @Column(name = "GoodsHit")
    private Integer goodsHit;

    @Column(name = "Sold_Total")
    private Integer soldTotal;

    @Column(name = "GoodsPicture1")
    private String goodsPicture1;

    @Column(name = "GoodsPicture2")
    private String goodsPicture2;

    @Column(name = "GoodsPicture3")
    private String goodsPicture3;

    @Column(name = "GoodsPicture4")
    private String goodsPicture4;

    @Column(name = "GoodsPicture5")
    private String goodsPicture5;

    @Column(name = "GoodsPicture6")
    private String goodsPicture6;

    @Column(name = "Expr1")
    private Integer expr1;

    @Column(name = "GoodsTypeID")
    private Integer goodsTypeID;

    @Column(name = "GoodsType")
    private String goodsType;

    @Column(name = "GoodsNowPrice")
    private float goodsNowPrice;

    @Column(name = "typeName")
    private String typeName;




}
